package com.atguigu.ucenterservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.alibaba.nacos.NacosDiscoveryAutoConfiguration;
import org.springframework.cloud.alibaba.nacos.discovery.NacosDiscoveryClientAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author chenyeqing
 * @Date 2022/4/8 19:40
 */
@SpringBootApplication(exclude = {
        NacosDiscoveryAutoConfiguration.class,
        NacosDiscoveryClientAutoConfiguration.class
})
@ComponentScan(basePackages = {"com.atguigu"})
@MapperScan("com.atguigu.ucenterservice.mapper")
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class, args);
    }
}
